            <div id="content"> <!-- Content begins here -->
                
                <?php echo $this->element('admin/flash') ?>
                <div class="clear"></div>
                <h2><?php echo $this->name ?></h2><a class="btn" href="<?php echo $html->url(array('controller'=>strtolower($this->name),'action'=>'add')) ?>"><b>+ Add <?php echo $default_model ?></b></a>
                
                <div class="clear"></div>
                <br />
                
                <table cellspacing="0" cellpadding="0" border="0"><!-- Table -->
                    <thead>
                        <tr>
                            <th>Name</th>
                            <th>Username</th>
                            <th>Email</th>
                            <th>Updated</th>
                            <th>Actions</th>
                        </tr>
                    </thead>
                
                    <tbody >
                        <?php if($posts):
                                foreach($posts as $row):
                                                        
                        ?>
                        <tr <?php if($row[$default_model]['status']!='published') echo 'class="unpublished"' ?>>
                            
                            <td><?php echo $row['User']['name'] ?></td>
                            <td><?php echo $row['User']['username'] ?></td>
                            <td><?php echo $row['User']['email'] ?></td>
                            <td><?php echo $row[$default_model]['modified'] ?></td>
                            
                            <td>
                                <a href="<?php echo $html->url(array('controller'=>'media','action'=>'index',"user",$row['User']['id'])) ?>" title="click to manage images"><?php echo $html->image('assets/action_edit.png') ?></a>
                                <a href="<?php echo $html->url(array('controller'=>strtolower($this->name),'action'=>'edit',$row[$default_model]['id'])) ?>" title="click to edit this item"><?php echo $html->image('assets/action_add.png') ?></a>
                                <a href="<?php echo $html->url(array('controller'=>strtolower($this->name),'action'=>'delete',$row[$default_model]['id'])) ?>" onclick="return confirm('Are You Sure?')" title="click to delete this item"><?php echo $html->image('assets/action_delete.png') ?></a>
                            </td>
                        </tr>
                        <?php endforeach;
                            else:
                        ?>
                        <tr>
                            
                            <td colspan="6">No items avilable in range</td>
                            
                        </tr>
                        <?php endif ?>
                        
                        
                        
                    </tbody>
                </table> <!-- END Table -->
                
                 <?php 
            
                $paginator->options(array('url'=>$this->passedArgs));
                
                    
                    echo '<div class="paginator">';
                                
                    if($paginator->hasPrev()) echo $paginator->prev('Previous', array('class'=>'next page-numbers', 'escape' => false));
                    echo $paginator->numbers(
                        array(
                            'class' => 'page-numbers', 
                            'separator' => ' ', 
                            'before' => ' ',
                            'after' => ' ',
                        )
                    );
                    if($paginator->hasNext()) echo $paginator->next('Next', array('class'=>'next page-numbers', 'escape' => false));
                    echo '</div>';
                    echo '<span class="displaying-num fR" style="margin:18px">'.$paginator->counter(array(
                        'format' => __('Displaying %start%&ndash;%end% of %count%', true)
                    )).'</span>';
                    
                ?>
                <!--<a href="javascript:" class="btn hidden newsOrder"><b>Update Order</b></a>        
                <img src="<?php echo $this->base?>/css/admin/assets/loading.gif" alt=""  class="mt10 ml10 hide" id="loading"/>
                <input id="ajax_path" value="<?php echo $html->url('/admin/posts/update_order') ?>" type="hidden"/>-->
                
                
               

            
        </div> <!-- END Content -->
        